EF中的日期查询 1.用EF方式从数据库中查询出来的list可以用DbFunctions.DiffDays来做日期查询 list.Where(x => System.Data.Entity.DbFunction ...